import React, { Component } from 'react';
import {BrowserRouter as Router, Route } from "react-router-dom";
import Home from './components/Home';
import Product from './components/Product';
import In from './components/In';
import Out from './components/Out';
import Record from './components/Record';

class App extends Component {
  constructor(props) {
    super(props);
    this.state = {

    }
  }

  render() {
    return (
      <Router>
        <div>
          <Route exact path="/" component={Home} />
          <Route path="/product" component={Product} />
          <Route path="/in" component={In} />
          <Route path="/out" component={Out} />
          <Route path="/record" component={Record} />
        </div>
      </Router>
    );
  }
}

export default App;
